package com.mycat.chat.two.util;

import javax.swing.*;
import javax.swing.border.Border;
import java.awt.*;

/**
 * MyCat chat项目相关常亮
 *
 * @author roger.
 * @email 190642964@qq.com
 * @create 2017-02-16
 */
public class Constants {

    /**
     * 服务端公布端口
     */
    public static int NIO_PORT = 8888;











    /** 空格代码 */
    public static String SPACE = "\u0008";
    public static String SEARCH_TXT = "搜索：联系人、群组";
    /**
     * 字体样式
     */
    public static Font BASIC_FONT = new Font("微软雅黑", Font.PLAIN, 12);
    public static Font BASIC_FONT2 = new Font("微软雅黑", Font.TYPE1_FONT, 12);

    /**
     * 边框颜色-灰色
     */
    public static Border GRAY_BORDER = BorderFactory.createLineBorder(Color.GRAY);
    /**
     * 边框颜色-橙色
     */
    public static Border ORANGE_BORDER = BorderFactory.createLineBorder(Color.ORANGE);
    /**
     * 边框颜色-发光的灰色
     */
    public static Border LIGHT_GRAY_BORDER = BorderFactory.createLineBorder(Color.LIGHT_GRAY);
}
